INCLUDE_DIRECTORIES(
 ./
 ../read_video
  /usr/local/include/opencv
  /usr/local/include/boost-1_37
  )

Link_DIRECTORIES(
  /usr/local/lib	
  )

ADD_DEFINITIONS(-DDEBUG -ggdb -O0 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)

ADD_EXECUTABLE(
  facedir
  main.cpp
  facedir.cpp
  videoAVI.cpp
  modelo_RANSAC.cpp
  smat-ransac.cpp
  ../read_video/captura.cpp
  ../read_video/dc_captura.cpp  
  ../read_video/frame_header.cpp
  ../read_video/read_video.cpp
  face_detect_vj.cpp
  basic_utils.cpp
  fitting.cpp
  SMATModel.cpp
  display.cpp
  utils_shape.cpp
  utils.cpp shape.cpp
  median.cpp
  cvfundam2.cpp
  AppearanceBase.cpp
  other_functions.cpp
  options.cpp
  )
TARGET_LINK_LIBRARIES(
  facedir
  cxcore cv highgui
  gsl gslcblas
  libboost_thread-gcc42-mt.so
)


ADD_EXECUTABLE(
  groundtruth
  main_gt.cpp
  videoAVI.cpp
  modelo_RANSAC.cpp
  smat-ransac.cpp
  ../read_video/captura.cpp
  ../read_video/dc_captura.cpp  
  ../read_video/frame_header.cpp
  ../read_video/read_video.cpp
  face_detect_vj.cpp
  basic_utils.cpp
  fitting.cpp
  SMATModel.cpp
  display.cpp
  utils_shape.cpp
  utils.cpp shape.cpp
  median.cpp
  cvfundam2.cpp
  AppearanceBase.cpp
  other_functions.cpp
  options.cpp
  )
TARGET_LINK_LIBRARIES(
  groundtruth
  cxcore cv highgui
  gsl gslcblas
  libboost_thread-gcc42-mt.so
)
